{include file="public:header" /}
    {include file="public:nav" /}
    <div class="row">
        <div class="col-md-8">
            <h2 class="mt-2 text-success">{$cateName}</h2>
            {volist name="art" id="a" empty="$empty"}
            <div>

                <img src="/uploads/{$a.title_image}" alt="" class="img-rounded" style="border: 1px solid #ccc;margin-right: 40px;float: left;width: 100px;height: 85px">
                <div style="float: left;width: 80%">
                    <h4><a href="{:url('index/index/details',['id'=>$a.id])}">{$a.title}</a></h4>
                    <p>发布者:{$a.id|getUserName} &nbsp;&nbsp;&nbsp;&nbsp;
                        发布时间:{$a.create_time|date='Y/m/d'}&nbsp;&nbsp;&nbsp;&nbsp;
                        阅读量:{$a.pv}&nbsp;&nbsp;&nbsp;&nbsp;
                    </p>
                    <div>{$a.content|getArtContent}</div>
                    <hr>
                </div>

            </div>
            {/volist}
            <div class="text-center" style="clear: both">{$art|raw}</div>
        </div>

        {include file="public:right" /}
    </div>
{include file="public:footer" /}